<?php
	include_once("../ns_dao.class.php");
	
	//The database object below should be available to all pages that include this one
	//For visible pages, this is already included, but for all helper/util pages, you need to include this file again because they don't need a header file
	echo ".DB INFO.<br />";	
	$nsDatabase = new ns_dao('nordic-sauna-web','web_access','sal-cairns.jcu.edu.au','nordic-sauna');
	echo $nsDatabase->dbUser."<br />";
	echo $nsDatabase->dbPass."<br />";
	echo $nsDatabase->dbHost."<br />";
	echo $nsDatabase->dbName."<br />";
	$nsDatabase->connect();
	
	echo $nsDatabase->isConnected();
	echo ".END DB INFO.<br />";
		
	function getOpenBody()
	{
		return '<div class="mainBody"><div class="t2"><div class="b2"><div class="l2"><div class="r2"><div class="bl2"><div class="br2"><div class="tl2"><div class="tr2">';
	}
	
	function getCloseBody()
	{
		return '</div></div></div></div></div></div></div></div></div>';
	}
	
	function getOpenTop()
	{
		return '<div class="topBar"><div class="t2"><div class="b2"><div class="l2"><div class="r2"><div class="bl2"><div class="br2"><div class="tl2"><div class="tr2">';
	}
	
	function getCloseTop()
	{
		return '</div></div></div></div></div></div></div></div></div>';
	}
	
	function getOpenLeft()
	{
		return '<div class="leftNavTable"><div class="bl"><div class="br"><div class="tl"><div class="tr">';
	}
	
	function getCloseLeft()
	{
			return '</div></div></div></div><div class="clear">&nbsp;</div></div>';
	}
?>
